package cn.wolfcode.crm.util;

import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
public class JsonResult {
    private boolean success = true;
    private String msg;

    public void setMsg(String msg){
        this.success = false;
        this.msg = msg;
    }

    //异常时操作
    public JsonResult(String msg){
        this.success = false;
        this.msg = msg;
    }
}
